function | number
required
The function or level you want to get the protos from.
debug.getprotos return cloned protos which are unable to be called but can be interacted with other debug functions such as getconstant or getinfo. Consider using ‘debug.getproto’ with the ‘active’ argument set to true if you want active protos you can interact with.
